How to skip one folder with 7zip [closed]

Posted by SoMoS on Server Fault See other posts from Server Fault or by SoMoS
Published on 2011-01-13T17:19:05Z Indexed on 2011/01/13 17:55 UTC
Read the original article Hit count: 212

Filed under:
|
|

Hello,

I have to extract a file from commandline with 7zip (or other free zip application) with the next structure:

MAIN_DIR\
         ---a
         ---b
         ---SUBDIR\
                   ---c 

I need the output structure to be the same but skipping the first folder so I end with:

---a
---b
---SUBDIR\
         ---c 

Can this be done with 7zip or other free commandline zip extractor?

Thanks in advance.

© Server Fault or respective owner

Related posts about zip

Related posts about extract